package com.huaweiyuntest.springbootdemo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/hello")
@RestController()
public class HelloController {

    // test hello
    @RequestMapping("/test")
    public String hello() {
        return "Hello, Spring Boot!";
    }
}
